#pragma once
#include "ALBaseEdge.h"

class CALEDoG : public CALBaseEdge
{
public:
	CALEDoG();
	CALEDoG(CALStepItem* pStepItem);
	~CALEDoG();

public:
	//https://blog.csdn.net/u013611347/article/details/51439190
	virtual void test();
	virtual void convert();
	virtual void convert(const Mat &src, Mat &dst);

protected:
	Mat Process(Mat &A, double sig1, double sig2, Size Ksize);
	Mat getExtrema(Mat &A, Mat &B, Mat &C, int thresh);
	Mat drawExtrema(Mat img, Mat &extr);
};

